package com.it;

import java.io.File;

public class Text03 {
    public static void main(String[] args) throws Exception {
        File file = new File("/Users/zhanggang/Desktop/数据库笔记.md");
        System.out.println("判断文件是否存在" + file.exists());
        //System.out.println("删除文件" + file.delete());
        //System.out.println("创建文件" + file.createNewFile());
        System.out.println("file.getName() = " + file.getName());
    }
}
